package ccm.component.override;

import ccm.common.CCMConfigManager;

import javax.swing.text.Document;

public class JTextField extends javax.swing.JTextField
{
    public JTextField()
    {
        setFont(CCMConfigManager.getFont("ccm/general/font"));
    }

    public JTextField(String text)
    {
        super(text);
        setFont(CCMConfigManager.getFont("ccm/general/font"));
    }

    public JTextField(int columns)
    {
        super(columns);
        setFont(CCMConfigManager.getFont("ccm/general/font"));
    }

    public JTextField(String text,int columns)
    {
        super(text,columns);
        setFont(CCMConfigManager.getFont("ccm/general/font"));
    }

    public JTextField(Document doc,String text,int columns)
    {
        super(doc,text,columns);
        setFont(CCMConfigManager.getFont("ccm/general/font"));
    }
}
